const url = 'http://stage-h5special.cloud.ottcn.com/wxspecial/index.js?id=8213|dcf09be0f8993e896ba4de940f1692c3|50000138'

const ind = url.indexOf('/',8)

const prefix = url.slice(0,ind)

console.log(`prefix ==> `, prefix)

const str = 'http://h5special.cloud.ottcn.com/wxspecial/index.js?id=14339|dcf09be0f8993e896ba4de940f1692c3|50'

console.log(str.match('stage'))
